{# The controls' icons, one home each (heroicons outline, 24x24; the sidebar's are ``sidebar_icon`` in layout.html). ``sprite()`` is drawn once a page (``base.html``); ``icon(name)`` points at it, so a control repeated on every row or message does not repeat the path. The caller sets the size, the stroke width and the colour (currentColor). #} {# ``label`` names an icon that stands alone (a check meaning "in use"); without one it is decoration and hidden from readers. #} {% macro icon(name, class="w-4 h-4", stroke=1.5, attrs="", label=None) -%} {%- endmacro %} {% macro sprite() %} {% endmacro %}